VERSION 5.00
Begin VB.Form P_YearLastTestForm 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   BorderStyle     =   0  'None
   ClientHeight    =   9000
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   12000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   9000
   ScaleWidth      =   12000
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Back_Button 
      Caption         =   "Back"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      TabIndex        =   7
      Top             =   7560
      Width           =   1935
   End
   Begin VB.CommandButton Clear_Button 
      Caption         =   "Clear"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      TabIndex        =   6
      Top             =   5520
      Width           =   1935
   End
   Begin VB.CommandButton Unknown_button 
      BackColor       =   &H80000016&
      Caption         =   "Unknown"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   15.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   5460
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   6180
      Width           =   1935
   End
   Begin VB.CommandButton Next_Button 
      Caption         =   "Next"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      TabIndex        =   2
      Top             =   4500
      Width           =   1935
   End
   Begin VB.CommandButton Cancel_Button 
      BackColor       =   &H008080FF&
      Caption         =   "Cancel"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   6540
      Width           =   1935
   End
   Begin VCT.SexPartnerDetailCtrl SEXPART 
      Height          =   3855
      Left            =   300
      TabIndex        =   0
      Top             =   240
      Width           =   11415
      _ExtentX        =   20135
      _ExtentY        =   6800
   End
   Begin VCT.TouchYearSelector TouchYearSelector1 
      Height          =   3975
      Left            =   900
      TabIndex        =   4
      Top             =   4560
      Width           =   3495
      _ExtentX        =   6165
      _ExtentY        =   7011
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      Caption         =   "Enter all 4 digits of the year.  For example 1996 or 2003. "
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1095
      Left            =   5160
      TabIndex        =   5
      Top             =   4740
      Width           =   3795
   End
End
Attribute VB_Name = "P_YearLastTestForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'PxLTSTYR
'Back to PxLTSTMO

Private Sub Back_Button_Click()
   PLTSTYR(CurrPartner) = ""
   PLTSTMO(CurrPartner) = ""
   P_MonthLastTestForm.Show
   Unload Me
End Sub

Private Sub Cancel_Button_Click()
   VCTStageForm.Show
   Unload Me
End Sub

Private Sub Clear_Button_Click()
   Clear_Button.Enabled = False
   TouchYearSelector1.Enabled = True
   TouchYearSelector1.ResetControl
   Unknown_button.Enabled = True
   PLTSTYR(CurrPartner) = ""
   SEXPART.UpdateData
   Next_Button.Enabled = False
End Sub

Private Sub Form_Load()
   Next_Button.Enabled = False
   Clear_Button.Enabled = False
   SEXPART.SetStar (3)
   SEXPART.UpdateData
End Sub

Private Sub Next_Button_Click()
   P_FPMethodForm.Show
   Unload Me
End Sub

Private Sub TouchYearSelector1_KeyPressed()
   PLTSTYR(CurrPartner) = TouchYearSelector1.Year_Selected
   SEXPART.UpdateData
   Clear_Button.Enabled = True
   Unknown_button.Enabled = False
End Sub

Private Sub TouchYearSelector1_SelectionMade()
   Unknown_button.Enabled = False
   PLTSTYR(CurrPartner) = TouchYearSelector1.Year_Selected
   SEXPART.UpdateData
   Next_Button.Enabled = True
End Sub

Private Sub Unknown_button_Click()
   Unknown_button.Enabled = False
   TouchYearSelector1.Enabled = False
   PLTSTYR(CurrPartner) = "0000"
   SEXPART.UpdateData
   Next_Button.Enabled = True
   Clear_Button.Enabled = True
End Sub
